package cn.tedu.review.cn.tedu.oop;

/**
 * 该类用于面向对象的巩固练习
 *
 * @author ：Dsi
 * @date ：2021/11/5 11:47
 */
public class TestPhone {
    public static void main(String[] args) {
        Phone2 p1 = new Phone2();
        Phone2 p2 = new Phone2();
        p1.bround = "xiaomi";
        p1.price = 4399;
        System.out.println(p1.price);
        p2.video();
    }
}

class Phone2 {
    String bround;
    double price;

    public void video() {
        System.out.println("看直播~");
    }

}